package com.usian.comment.service.impl;

import com.baomidou.mybatisplus.extension.api.R;
import com.usian.comment.service.CommentRepayService;
import com.usian.model.comment.dtos.CommentRepayDto;
import com.usian.model.comment.dtos.CommentRepayLikeDto;
import com.usian.model.comment.dtos.CommentRepaySaveDto;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Auther:ASS
 * @Date:2023/3/7 10:57
 */
@Service
public class CommentRepayServiceImpl implements CommentRepayService {




    /**
     * 加载评论回复列表
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult loadCommentRepay(CommentRepayDto dto) {

        if (dto==null ||dto.getCommentId()==null) {
            return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);

        }
        return null;
    }

    /**
     * 保存回复内容
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult saveCommentRepay(CommentRepaySaveDto dto) {
        return null;
    }

    /**
     * 点赞回复内容
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult saveCommentRepayLike(CommentRepayLikeDto dto) {
        return null;
    }
}
